$(function() {
		$( "#dtNasc" ).datepicker({
			changeMonth: true,
			changeYear: true,
			dateFormat: 'dd/mm/yy'
		});
	
        /*       $( "#data_i" ).datepicker({
		      defaultDate: "+1w",
		      changeMonth: true,
		      numberOfMonths: 1,
		      dateFormat: 'dd/mm/yy',
		      onClose: function( selectedDate ) {
		        $( "#data_f" ).datepicker( "option", "minDate", selectedDate );
		      }
		    }); 
		$( "#data_f" ).datepicker({
		      defaultDate: "+1w",
		      changeMonth: true,
		      numberOfMonths: 1,
		      dateFormat: 'dd/mm/yy',
		      onClose: function( selectedDate ) {
		        $( "#data_i" ).datepicker( "option", "maxDate", selectedDate );
		      }
		    }); */
		$.datepicker.regional['pt-BR'] = {
				monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
				'Jul','Ago','Set','Out','Nov','Dez'],
				dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
				};
		$.datepicker.setDefaults($.datepicker.regional['pt-BR']);
		jQuery("#cpf").mask("999.999.999-99");
		//jQuery("#cep").mask("99999-999");
		//jQuery("#cnpj").mask("99.999.999/9999-99");
		jQuery("#telefone").mask("(99) 9999-9999");
		jQuery("#celular").mask("(99) 9999-9999");
	});

//estava no original:
function clearText(field)
{
    if (field.defaultValue == field.value) field.value = '';
    else if (field.value == '') field.value = field.defaultValue;
}